net/http.connReader.remain (field)

8 uses

	net/http (current package)
		server.go#L656: 	remain  int64 // bytes remaining
		server.go#L736: func (cr *connReader) setReadLimit(remain int64) { cr.remain = remain }
		server.go#L737: func (cr *connReader) setInfiniteReadLimit()     { cr.remain = maxInt64 }
		server.go#L738: func (cr *connReader) hitReadLimit() bool        { return cr.remain <= 0 }
		server.go#L780: 	if int64(len(p)) > cr.remain {
		server.go#L781: 		p = p[:cr.remain]
		server.go#L798: 	cr.remain -= int64(n)
		server.go#L1935: 		if c.r.remain != c.server.initialReadLimitSize() {